Skip to main content

GetEditModeActionSelectControl

Type

message

Summary

Handle this message to specify a custom data grid action select control.

Syntax

on GetEditModeActionSelectControl

Description

GetEditModeActionSelectControl is sent to your data grid's custom row template. Handle GetEditModeActionSelectControl if you want to specify a custom action select control. Return the id of the control you want to display. Returning empty will result in no control being displayed.

Handing this message will override the edit mode action select control property.

Examples

on GetEditModeActionSelectControl
return group "my custom action select control"
end GetEditModeActionSelectControl

on GetEditModeActionSelectControl
-- Hide for the data grid row number 5
if the dgIndex of me is 5 then
return empty
end if
pass GetEditModeActionSelectControl
end GetEditModeActionSelectControl

on GetEditModeActionSelectControl
-- Turn action select off
return empty
end GetEditModeActionSelectControl

property: dgEditMode, edit mode action control, edit mode action select control, edit mode reorder control

command: EditModeShowActionControlForIndex, EditModeHideActionControl

message: EditModeActionSelectControlClicked, EditModeActionControlClicked, EditModeActionControlHidden, GetEditModeActionControl, GetEditModeReorderControl

Thank you for your feedback!

Was this page helpful?